#ifndef ITEMENTITY_H
#define ITEMENTITY_H

#include "Entity.h"

class PlayerEntity;

class ItemEntity : public Entity
{
    public:
        ItemEntity();
        virtual void onCollide(Entity*);
        virtual void onUse(PlayerEntity*);
        bool useOnPickup();
        virtual Entity* clone();
        virtual ~ItemEntity();

        ItemEntity* setUseOnPickup(bool);

    protected:
};

struct ItemEntityData : public EntityData
{
    bool useOnPickup;
};

#endif // ITEMENTITY_H
